home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5361 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: indirect.com!pronet01
  2. From: pronet01@indirect.com (Mark Miller)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How much dimensions an array can have?????
  5. Date: Sat, 3 Feb 1996 20:46:02 UNDEFINED
  6. Organization: Promark One
  7. Message-ID: <pronet01.29.002E1C5E@indirect.com>
  8. References: <Klusmann.67.000B0704@mbox.iftc.uni-hannover.de> <4el47d$357@fsuj01.rz.uni-jena.de> <DLzyDy.J9s.0.-s@cs.vu.nl>
  9. NNTP-Posting-Host: s3.phxslip4.indirect.com
  10. X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #1]
  11.  
  12. In article <DLzyDy.J9s.0.-s@cs.vu.nl> jalten@cs.vu.nl (Alten JP) writes:
  13. >From: jalten@cs.vu.nl (Alten JP)
  14. >Subject: Re: How much dimensions an array can have?????
  15. >Date: Tue, 30 Jan 1996 13:49:10 GMT
  16.  
  17. >Tilo Koerbs (mkt@isun04.inf.uni-jena.de) wrote:
  18. >: Ein Array in C / C++ ist IMMER eindimensional.
  19. >: Aber: Mehrdimensionale Felder sind einfach Felder von Feldern!
  20.  
  21. >[ skmutpp ]
  22.  
  23. >Oui, c'est vrai, mais peut-etre il y a quelques voitures dans
  24. >la rue.
  25.  
  26. >(en ik maar denken dat het de bedoeling was dat hier in 
  27. >Engels geantwoord zou worden... zucht)
  28.  
  29.  
  30. >(-:
  31.  
  32. OK (whatever)...  Read Gail, and her husband's, Anderson's book called
  33. "Advanced C tips & techniques" chapter 3 (best chapter of ANY book I
  34. ever saw in my life) and you will see that in C/C++, "There's no such
  35. thing as an array" as everything is an address or a pointer to an address
  36. of somekind...
  37.  
  38. If you want, you can go crazy with "**************p", but I'm sure your
  39. employer's would consider you to be a trouble-maker and fire you on
  40. the spot...   In my applications, I have never had a need to go deeper
  41. than 3 dimension (and even with 3 dimensions, you should be prepared
  42. to justify your reason with your boss) and ONLY had a need to go
  43. "****p" when passing a pointer to a 3-D storage segment to a method...
  44.  
  45.  
  46.  
  47.